package template

import (
	"github.com/gin-gonic/gin"
)

const (
	TestHtml       = "test.html"
	AddUserHtml    = "adduser.html"
	UpdateUserHtml = "updateuser.html"
	DeleteUserHtml = "deleteuser.html"
	QueryUserHtml  = "queryuser.html"
)

// InitTemplate 初始化模板设置
func InitTemplate(r *gin.Engine) {

	r.LoadHTMLGlob("./Web/templates/*")
	r.Static("/css", "./Web/static/css")
	r.Static("/js", "./Web/static/js")

}
